//
//  DataCopy.m
//  AboutFactory
//
//  Created by apple on 12-9-21.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "DataCopy.h"

@implementation DataCopy
@synthesize dataArr=_dataArr,password=_password;
// 保存密码本 和密钥
-(void)initData
{
    
    NSString *secrectString=@"B|C|N|O|P|y|s|t|=|l|A|z|g|D|E|F|h|i|_|j|Q|R|S|T|-|U|w|x|k|V|W|a|b|c|X|Y|Z|d|e|f|+|I|J|K|6|7|n|o|p|q|r|8|9|L|M|m|G|H|0|1|2|5|4|/|3|u|v";
    
    NSArray *secrecArr=[secrectString componentsSeparatedByString:@"|" ];
    
    _dataArr=secrecArr;
    
    NSString *passWord=@"YwyfwyfFe5X-tN=iYtcTiYtce5X=9f";
    _password=passWord;    
    
}



+(DataCopy *)shareDataCopy
{
    @synchronized(self)
    {
        static DataCopy *datacopy=nil;
        
        if(datacopy==nil)
        {
            
            datacopy=[[DataCopy alloc]init];
            
            [datacopy initData];
            
        }   
        
        return datacopy;
        
        
    } 
    
    
}

@end
